﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Security.Cryptography;

namespace MAT
{
    public partial class frmLogin : Form
    {
        Controllers.ctrLogin _ctrLogin = new Controllers.ctrLogin();
        public frmLogin()
        {
            InitializeComponent();
            _ctrLogin.FrmLogin = this;
        }

        public void frmLogin_Load(object sender, EventArgs e)
        {
            _ctrLogin.frmLogin_Load();
        }

        private void btnSignIn_Click(object sender, EventArgs e)
        {
            _ctrLogin.btnSignIn_Click();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            _ctrLogin.btnCancel_Click();
        }

        private void frmLogin_FormClosed(object sender, FormClosedEventArgs e)
        {
            _ctrLogin.frmLogin_FormClosed();
        }

        private void txtPassword_KeyDown(object sender, KeyEventArgs e)
        {
            _ctrLogin.keyDown(e);
        }

    }
}

